package com.gpt.article.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 提示词维护对象 gpt_prompts
 * 
 * @author zhuzi
 * @date 2023-11-03
 */
public class GptPrompts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 提示词id */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 担任角色 */
    @Excel(name = "担任角色")
    private String takeRole;

    /** 生成模板 */
    private String genStyle;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 图片生成提示词 */
    private String imgPrompts;

    /** 图片生成反向提示词 */
    private String imgNgProm;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTakeRole(String takeRole) 
    {
        this.takeRole = takeRole;
    }

    public String getTakeRole() 
    {
        return takeRole;
    }
    public void setGenStyle(String genStyle) 
    {
        this.genStyle = genStyle;
    }

    public String getGenStyle() 
    {
        return genStyle;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("takeRole", getTakeRole())
            .append("genStyle", getGenStyle())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("remark", getRemark())
            .toString();
    }

    public String getImgPrompts() {
        return imgPrompts;
    }

    public void setImgPrompts(String imgPrompts) {
        this.imgPrompts = imgPrompts;
    }

    public String getImgNgProm() {
        return imgNgProm;
    }

    public void setImgNgProm(String imgNgProm) {
        this.imgNgProm = imgNgProm;
    }
}
